<%@ page contentType="text/html;charset=UTF-8" language="java" %>


<form:form id="searchForm" method="post" commandName="user" class="form-inline search-form" data-change-search="true">


    <div class="form-group">
            <%--<label for=""></label>--%>
        <label for="id" class="control-label">编号</label>
        <input type="text" id="id" name="id" class="input-small" placeholder="多个使用空格分隔"/>

    </div>
    &nbsp;&nbsp;

    <div class="form-group">
        <form:label path="usernameOrFullName" cssClass="control-label">名称</form:label>
        <form:input path="usernameOrFullName" placeholder="用户名/姓名模糊匹配"></form:input>

    </div>
    &nbsp;&nbsp;

    <div class="form-group">
        <form:label path="status" cssClass="control-label">状态</form:label>
        <form:select path="status" items="${statusList}" itemLabel="info" itemValue="code"
                     cssStyle="width: 100px;" cssClass="validate[required]"/>
    </div>

    &nbsp;&nbsp;

    <input type="submit" class="btn btn-primary" value="查询"/>

    <a class="btn btn-link accordion-toggle" data-toggle="collapse" href="#searchMore">高级查询</a>
    <a class="btn btn-link btn-clear-search">清空</a>


    <%--more--%>
    <div id="searchMore" class="accordion-body collapse">
        <div class="accordion-inner">

            <label for="startTime">创建时间从</label>

            <div class="input-append date">
                <input id="startTime" name="startTime" type="text" cssClass="input-medium"
                       data-format="yyyy-MM-dd"
                       placeholder="大于等于"/>
                <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
            </div>

            <label path="endTime">到</label>
            <div class="input-append date">
                <input id="endTime" name="endTime" type="text" cssClass="input-medium"
                       data-format="yyyy-MM-dd"
                       data-position="bottom-left"
                       placeholder="小于等于"/>
                <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
            </div>
            <br>

        </div>
    </div>

</form:form>
